package com.hxzy.dto.system;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class LoginDTO {

    /**
     * 账户(用户名，电话号码)
     */
    @NotBlank(message = "账户不能为空")
    private String  phone;

    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    private String code;

    /**
     * 验证码令牌
     */
    @NotBlank(message = "验证码标识不能为空")
    private String uuid;
}
